import request from '@/services/request';

export async function getPie(body, options?: { [key: string]: any }) {
  return request<API.CurrentUser>('/api/VltController/pieChart', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json; charset=utf-8',
    },
    data: body,
    ...(options || {}),
  });
}